﻿<%@ Page Language="C#" MasterPageFile="~/default-nomenu.Master" AutoEventWireup="true" CodeBehind="planejamentocadastro.aspx.cs" Inherits="CeA.Reports.Atendimento.Web.admin.planejamentocadastro" Title="Planejamento de Atendimento" %>
<%@ PreviousPageType TypeName="CeA.Reports.Atendimento.Web.admin.loja" %>

<asp:Content ID="head" ContentPlaceHolderID="head" runat="server">
  <script src="/js/jquery.dataTables.min.js" type="text/javascript"></script>
  <script src="/js/jquery.jeditable.min.js" type="text/javascript"></script>
  <script src="/js/jquery.column.min.js" type="text/javascript"></script>
  <script src="/js/jquery.meio.mask.min.js" type="text/javascript"></script>
  <script src="/js/admin/planejamentocadastro.aspx.js" type="text/javascript"></script>
  <style type="text/css">#example.display {table-layout:fixed;width:100%;} #codigo {display:none}</style>
</asp:Content>

<asp:Content ID="body" ContentPlaceHolderID="BodyContentPlaceholder" runat="server">
  <h1>Planejamento da Loja</h1>
  
  <table cellpadding="1px" cellspacing="1px" border="0">
    <tr>
      <td style="width:85px"><label for="txtSigla" class="label">Sigla</label></td>      
      <td style="width:auto">
        <asp:TextBox ID="txtSigla" runat="server" CssClass="text-field-ro" MaxLength="128" Width="100px" Enabled="false" />
      </td>
    </tr>
    <tr>
      <td><label for="txtNome" class="label">Nome</label></td>      
      <td>
        <asp:TextBox ID="txtNome" runat="server" CssClass="text-field-ro" Style="background-color:#EEE" MaxLength="128" Width="613px" Enabled="true" />
      </td>
    </tr>
  </table>
  
  <h2>Gerenciar</h2>
  
  <div id="dados" style="border:1px solid"></div>
  
  <table cellpadding="1px" cellspacing="1px" border="0">
    <tr>
      <td style="width:85px"><label for="cboAno" class="label">Período</label></td>
      <td>
        <!-- Utilizar um meio menos rustico -->
        <table cellpadding="0" cellspacing="0" border="0" style="">
          <tr>
            <td style="width: 85px">
              <select id="cboMes" class="mes-ano-select form-select" style="width: 85px;">
                <option value="1">Janeiro</option>
                <option value="2">Fevereiro</option>
                <option value="3">Março</option>
                <option value="4">Abril</option>
                <option value="5">Maio</option>
                <option value="6">Junho</option>
                <option value="7">Julho</option>
                <option value="8">Agosto</option>
                <option value="9">Setembro</option>
                <option value="10">Outubro</option>
                <option value="11">Novembro</option>
                <option value="12">Dezembro</option>
              </select>
            </td>
            <td style="width: 55px">
              <select id="cboAno" class="mes-ano-select form-select" style="width: 55px;">
                <option value="2009">2009</option>
                <option value="2010">2010</option>
                <option value="2011">2011</option>
                <option value="2012">2012</option>
                <option value="2013">2013</option>
                <option value="2014">2014</option>
                <option value="2015">2015</option>
                <option value="2016">2016</option>
              </select>
            </td>
            <td style="width: 30px">
              <input type="button" id="search" class="search-buttom" />
            </td>
            <td style="width: auto">
              <a href="#" id="procedureEstatistica" class="link-buttom">[Processar Estatisticas]</a>
            </td>
            <td>
              <div id="loading" style="margin-left:5px; display: none;">Processando...</div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>

  <br />

  <table id="resultContainer" cellpadding="1px" cellspacing="1px" style="table-layout:fixed">
    <tr>
      <td style="width:84px;vertical-align:top">
        <label for="result" class="label">Planejamento</label>
      </td>
      <td style="width:auto">
        <div id="result" style="overflow-x:auto;width:auto;max-height:400px;border: 1px solid silver"></div>
      </td>
    </tr>
  </table>
  

  <div class="break">
    <asp:Button ID="cmdVoltar" runat="server" Text="Voltar" CssClass="form-buttom" CausesValidation="false" />
  </div>
  
  <input type="hidden" id="hidLojaId" value="<%=CodigoLoja%>" />
  <input type="hidden" id="hidBranchno" value="<%= CodigoBranchno %>" />
  
</asp:Content>
